package com.guoheng.hazard.common.enums;

/**
 * 枚举描述:　SafeOneMapTypeEnum
 *
 * @author fbl
 * @date 2019-12-02 08:52
 */
public enum SafeOneMapTypeEnum {

    /**
     * 重大危险源
     */
    ONE_MAP_TYPE_ZERO(0,"重大危险源"),

    /**
     * 实时报警
     */
    ONE_MAP_TYPE_ONE(1,"实时报警"),

    /**
     * 实时报警
     */
    ONE_MAP_TYPE_TWO(2,"温度传感器"),

    /**
     * 压力传感器
     */
    ONE_MAP_TYPE_THREE(3,"压力传感器"),

    /**
     * 液位传感器
     */
    ONE_MAP_TYPE_FOUR(4,"液位传感器"),

    /**
     * 可燃气体
     */
    ONE_MAP_TYPE_FIVE(5,"可燃气体"),

    /**
     * 有毒气体
     */
    ONE_MAP_TYPE_SIX(6,"有毒气体"),

    /**
     * 摄像头
     */
    ONE_MAP_TYPE_SEVEN(7,"摄像头");


    private final Integer code;

    private final String msg;


    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    SafeOneMapTypeEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
